home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
boymks5e.zip
/
QTUP.BSC
< prev
next >
Wrap
Text File
|
1991-12-16
|
1KB
|
39 lines
\\
\\ Batch upload filenames script by Lee Breeden
\\
|quote
\\svz[%D:boymark.lst]\gv[] \\ For use with download dir
\\svz[%U:boymark.lst]\gv[] \\ For use with upload dir
\svz[e:\host\boymark.lst]\gv[] \\ For use with host dir
\SV2[%B:#.tmp]
\\bl[blockcommand]
\RE[\GV0[%VZ] \ii+^z,%v0[\em]\II+"\,%V0[\DV0[%II]] \II+"\,%V0[\DV0[%II]] \AF%V2[%V0] ]
ub
\RE[\gv0[%V2] \ii+^z,%v0[\em] \II+.,%v0[;%V0|;%v0] ] \GV[] \sl[Continuing macro...]
\DC-[del %V2]
{\dc-[del %VZ]\ko[]\eb
\\ Please note this line [\AF%V2[%V0] ] \\ this goes on line above.
\\ ......what?
\\
\\ All of the commands HAVE to be on the same line. The above script assumes
\\ that the file names that are in the boymark.lst file, only contain a path
\\ with 2-two \ e:\dn\filename. If it contains more than two, this command
\\ would need to be added to the long line above \II+"\,%V0[\DV0[%II]]. You
\\ would need to have one \II+"\,%V0[\DV0[%II]] for every backslash. If
\\ you have a very long path, you might get a macro error because of line
\\ length problems. The same could be written into a block, but the
\\ process would be slower. Shown below.....
|blockcommand
\GV0[%VZ]
\gb[trim]
|trim
\ii+^z,%v0[\eb]
\II+"\,%V0[\DV0[%II]\gb[trim]
\AF%V2[%V0]
\GB[blockcommand]